/*
 * @Description: 搜索栏配置
 * @Author: HuiSir<https://gitee.com/huisir001>
 * @Date: 2025-08-01 09:05:19
 * @LastEditTime: 2025-08-02 20:24:31
 */
import { defineFormOptions } from "@/components/TablePage/predefined";

export default defineFormOptions(() => [
  {
    label: "用户ID",
    component: "input",
    key: "userId",
    props: {
      placeholder: "请输入用户ID",
    },
  },
  {
    label: "用户名",
    component: "input",
    key: "username",
    props: {
      placeholder: "请输入用户名",
    },
  },
  {
    label: "IP地址",
    component: "input",
    key: "ip",
    props: {
      placeholder: "请输入ip",
    },
  },
  {
    label: "登录时间",
    component: "date-picker",
    key: "dateRange",
    props: {
      type: "daterange",
      rangeSeparator: "-",
      startPlaceholder: "开始时间",
      endPlaceholder: "结束时间",
    },
  },
]);
